﻿using System.Windows;
using System.Windows.Controls;
using Flux.Editor.Models;

namespace Flux.Editor.Panes
{
	public class PanesStyleSelector
		: StyleSelector
	{
		public Style PaneStyle { get; set; }

		public override Style SelectStyle(object item, DependencyObject container)
		{
			if (item is PaneModel) return PaneStyle;

			return base.SelectStyle(item, container);
		}
	}
}